package com.example.petplanet.mapper;



import com.example.petplanet.domain.Message;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface OfflineMessageDao{
    
    
    List<Message> selectMessageByUserId(long userId);

    void insert(Message msg);

    void deleteById(long id);


}
